<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>css 使用</title>
    <style>
      div {
        width: 100px;
        height: 100px;
        background-color: red;
        border: 1px solid black;
      }
      samp {
        width: 100px;
        height: 100px;
        background-color: red;
        border: 1px solid black;
      }
      p {
        width: 100px;
        height: 100px;
        background-color: red;
        border: 1px solid black;
      }
    </style>
  </head>
  <body>
    <div>div一个盒子 可以设置宽高和内边距外边距</div>
    <samp>samp一个盒子 不可以设置宽高和内边距外边距 </samp>
    <p>p一段文本</p>
    <a href="./2.1-css 使用.html">下一页</a>
  </body>
</html>
